bitkeeper revision 1.1159.1.435 (419cdeb3cXJd9VFQG3qEgk4aMdlboA)
authorcl349@arcadians.cl.cam.ac.uk <cl349@arcadians.cl.cam.ac.uk>
Thu, 18 Nov 2004 17:41:07 +0000 (17:41 +0000)
committercl349@arcadians.cl.cam.ac.uk <cl349@arcadians.cl.cam.ac.uk>
Thu, 18 Nov 2004 17:41:07 +0000 (17:41 +0000)
Increase number of cpus limits.

tools/libxc/xc_linux_build.c
xen/include/public/xen.h

index 24c4b2bb230c7fc61607ddfeefd394fe0d18f7be..062e0242b576bfd7627d134fc9783ceabb20ead8 100644 (file)
@@ -335,7 +335,7 @@ static int setup_guestos(int xc_handle,
     /* Mask all upcalls... */
     for ( i = 0; i < MAX_VIRT_CPUS; i++ )
         shared_info->vcpu_data[i].evtchn_upcall_mask = 1;
-    shared_info->n_vcpu = 2;
+    shared_info->n_vcpu = 8;
     munmap(shared_info, PAGE_SIZE);
 
     /* Send the page update requests down to the hypervisor. */
index d78e5f13b540474d7eae9d109d241ea52aebfa31..2ec859f8d5368252e2f64e0560dd8606773563dd 100644 (file)
@@ -251,8 +251,8 @@ typedef struct
 /* Event channel endpoints per domain. */
 #define NR_EVENT_CHANNELS 1024
 
-/* No support for multi-processor guests. */
-#define MAX_VIRT_CPUS 4
+/* Support for multi-processor guests. */
+#define MAX_VIRT_CPUS 32
 
 /*
  * Per-VCPU information goes here. This will be cleaned up more when Xen